<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>轮播图</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        .container{
            overflow: hidden;
            width: 600px;
            height: 400px;
        }
        .container ul{
            margin: 0 auto;
            width: 3600px;
            height: 400px;
            animation-name: name;
            animation-duration: 12s;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
        }
        .container ul li{
            list-style: none;
            float: left;
            width: 600px;
            height: 400px;
        }
        .container ul li img{
            width: 600px;
            height: 400px;
        }
        @keyframes name{
            from{
                margin-left: 0px;
            }
            to{
                margin-left: -3600px;
            }
        }
    </style> 
</head>
<body>
    <div class="container">
        <ul>
            <li><img src="./picture/picture0.jpg" alt=""></li>
            <li><img src="./picture/picture1.jpg" alt=""></li>
            <li><img src="./picture/picture2.jpg" alt=""></li>
            <li><img src="./picture/picture3.jpg" alt=""></li>
            <li><img src="./picture/picture4.jpg" alt=""></li>
            <li><img src="./picture/picture5.jpg" alt=""></li>
        </ul>
    </div>
</body>
</html>